/* 版心设置 */
#whole-page {
    position: relative;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}





/* 头部 */
header {
    position: relative;
    width: 1200px;
    height: 90px;
    border-bottom: 1px solid #f2f2f2;
}

/* logo */
header img {
    margin-left: 0;
    margin-top: 22px;
    cursor: pointer;
}

/* 头部ul导航栏 */
.header-top-nav {
    position: absolute;
    left: 190px;
    top: 0;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
}

/* ul清除浮动 */
.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* 导航栏五个item */
.header-top-nav li {
    float: left;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 18px;
    cursor: pointer;
}

/* “抢特权” */
.header-top-nav img {
    position: absolute;
    top: -4px;
    left: 255px;
    width: 37px;
    height: 14px;
}

/* “音乐馆”背景 */
.default-selected {
    background-color: #31C27C;
}

/* item链接文字 */
.header-top-nav li a {
    display: block;
    height: 100%;
    line-height: 90px;
    color: #000;
}

/* "登录" */
.login-font {
    height: 90px;
    position: relative;
    cursor: pointer;
}

.login-font:hover {
    color: #31C27C;
}





/* 点击登陆后背景为遮罩层 */
.login-mask {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 200;
    width: 100%;
    height: 120%;
    background-color: rgba(0, 0, 0, .2);
}

/* 登录盒子 */
.login {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -200px;
    z-index: 200;
    width: 400px;
    height: 260px;
    background-color: #fff;
    border-radius: 5px;
}

/* “手机登录/邮箱登录”字样 */
.use-phone-number {
    display: inline-block;
    width: 90%;
    text-align: center;
    margin-top: 15px;
    color: #31C27C;
    font-size: 16px;
}

/* 输入框 “登录”按钮  */
.login input,
.login-confirm {
    display: block;
    margin-left: 50px;
    width: 300px;
    height: 40px;
    margin-bottom: 5px;
    border-radius: 3px;
    border: 2px solid grey;
    font-size: 14px;
}

.login-confirm {
    color: #fff;
    background-color: #1e6fff;
    cursor: pointer;
}

.login input:nth-of-type(1) {
    margin-top: 20px;
}

.phone-warning,
.pwd-warning {
    visibility: hidden;
    margin-left: 50px;
    margin-bottom: 5px;
    width: 300px;
    height: 20px;
    color: red;
}

/* 关闭按钮 */
.close-button {
    font-family: 'icomoon';
    font-size: 14px;
    cursor: pointer;
}

.close-button:hover {
    color: #31C27C;
}





/* “音乐馆”字体 */
.header-top-nav .default-selected a {
    color: #fff;
}

/* 跟随鼠标移动的span */
.header-top-nav span {
    display: none;
    position: absolute;
    /* width: 20px;
    height: 10px; */
    border: 1px solid #000;
    font-size: 10px;
    padding: 5px 10px;
    background-color: #fff;
}

/* 搜索框大盒子 */
.header-search-box {
    position: absolute;
    top: 50%;
    margin-top: -18px;
    right: 285px;
    width: 220px;
    height: 36px;
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    line-height: 36px;
}

/* 搜索框 */
.search-input {
    margin-left: 10px;
    height: 90%;
    font-size: 14px;
    border: 0;
}

/* 搜索框放大镜 */
.header-search-box button {
    width: 20px;
    height: 100%;
    font-family: 'icomoon';
    background-color: #fff;
    border: 0;
    cursor: pointer;
}

.header-search-box button:hover {
    color: #31C27C;
}





/* 用户区域 */
.header-user {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    right: 0;
    width: 263px;
    height: 100%;
    line-height: 90px;
    text-align: center;
}

.header-user a:hover {
    color: #31C27C;
}

/* “开通VIP” */
.open-VIP-box {
    width: 120px;
    height: 120px;
    margin-top: 25px;
    border: 1px solid transparent;
    font-size: 13px;
    cursor: pointer;
}

/* 三个盒子公共样式 */
.openVIP,
.open-green-diamond,
.open-pay {
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border: 1px solid #c9c9c9;
}

/* 开通VIP */
.openVIP {
    border-color: transparent;
    border-radius: 3px;
    background-color: #31C27C;
}

/* 开通付费包 */
.open-pay {
    border-top: 0;
    color: #000;
}

/* 开通绿钻 */
.open-green-diamond {
    color: #000;
}

.open-pay:hover,
.open-green-diamond:hover {
    background-color: #31C27C;
    color: #fff;
}

/* 下面两个隐藏 */
.openVIP-down {
    display: none;
    z-index: 10;
}

/* 鼠标经过显示 */
.open-VIP-box:hover .openVIP-down {
    display: block;
}

/* "开通VIP"右边箭头 */
.openVIP::after {
    position: absolute;
    content: "";
    top: 43px;
    right: 105px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
}

/* 鼠标经过箭头改变方向 */
.open-VIP-box:hover .openVIP::after {
    border-top: 0;
    border-bottom: 6px solid #fff;
}

/* 充值盒子 */
.top-up-box {
    width: 80px;
    height: 120px;
    margin-top: 25px;
    border: 1px solid transparent;
    font-size: 13px;
    cursor: pointer;
}

/* 三个盒子公共样式 */
.top-up,
.purchase-le,
.top-up-menu {
    width: 100%;
    height: 40px;
    line-height: 40px;
    color: #fff;
    border: 1px solid #c9c9c9;
}

/* 开通VIP */
.top-up {
    border-radius: 3px;
    color: #000;
}

/* 开通付费包 */
.top-up-menu {
    border-top: 0;
    color: #000;
}

/* 开通绿钻 */
.purchase-le {
    color: #000;
}

/* 鼠标经过下面两个更改样式 */
.top-up-menu:hover,
.purchase-le:hover {
    background-color: #31C27C;
    color: #fff;
}

/* 下面两个隐藏 */
.top-up-down {
    display: none;
}

/* 鼠标经过显示 */
.top-up-box:hover .top-up-down {
    display: block;
}

/* "充值"右边箭头 */
.top-up::after {
    position: absolute;
    content: "";
    top: 43px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #000;
}

/* 鼠标经过箭头改变方向 */
.top-up-box:hover .top-up::after {
    border-top: 0;
    border-bottom: 6px solid #fff;
}

/* 鼠标经过“充值”背景变色 */
.top-up:hover {
    background-color: #31C27C;
    color: #fff;
}





/* 白色导航栏 */
.white-nav {
    width: 1200px;
    height: 52px;
}

/* 居中 */
.white-nav div {
    display: flex;
    justify-content: space-between;
    width: 740px;
    height: 100%;
    margin: auto;
}

/* 九个item */
.white-nav a {
    display: block;
    height: 52px;
    line-height: 52px;
    font-size: 15px;
}

/* 鼠标经过链接变色 */
.white-nav a:hover {
    color: #31C27C;
}





/* 登陆成功后渲染的样式 */
/* "登录"渲染为一级头像 */
.user-login {
    margin-top: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    text-align: center;
    cursor: pointer;
}

/* 用户信息框 */
.user-inf {
    display: none;
    position: absolute;
    z-index: 200;
    top: 90px;
    left: 0;
    width: 260px;
    height: 150px;
    background-color: #fff;
}

/* 二级头像 */
.user-head {
    width: 60px;
    height: 60px;
    margin-top: 10px;
    margin-left: 100px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

/* 用户昵称 */
.user-name {
    margin-top: 10px;
    width: 60px;
    font-size: 15px;
}

.user-name:hover {
    color: #31C27C;
}

/* 退出登录按钮 */
.user-logout {
    margin-left: 10px;
    width: 80px;
    height: 30px;
    line-height: 30px;
    border: 0;
    font-size: 15px;
    background-color: #fff;
    cursor: pointer;
}

.user-logout:hover {
    color: #31C27C;
}